﻿<Window x:Class="HouseKeepingPL.CreateUserWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Create New User" Height="190" Width="296" WindowStartupLocation="CenterScreen" Icon="/Resources/Key.ico">
    
    <StackPanel>
        <Label Content="Please Create User" HorizontalAlignment="Center"></Label>
        <DockPanel Name="dockUserName" LastChildFill="True">
            <Label Content="UserName: " DockPanel.Dock="Left" Width="80px"></Label>
            <Label Name="lblUsernameError" Content="" DockPanel.Dock="Right" Width="20px"></Label><!--spacer-->
            <TextBox Name="tbUserName" DockPanel.Dock="Right"></TextBox>
        </DockPanel>
        <DockPanel  Name="dockPassword" LastChildFill="True" >
            <Label Content="Password: " DockPanel.Dock="Left" Width="80px"></Label>
            <Label Name="lblPasswordError" Content="" DockPanel.Dock="Right" Width="20px"></Label>
            <!--spacer-->
            <TextBox Name="tbPassword" DockPanel.Dock="Right"></TextBox>
        </DockPanel>
        <DockPanel  Name="dockType" LastChildFill="True" >
            <Label Content="Type: " DockPanel.Dock="Left" Width="80px"></Label>
            <Label Name="lblTypeError" Content="" DockPanel.Dock="Right" Width="20px"></Label>
            <!--spacer-->
            <ComboBox Name="cbType"></ComboBox> <!-- bind needed -->
        </DockPanel>

        <StackPanel  Name="dockOperations" HorizontalAlignment="Center"  Orientation="Horizontal">
            <Button Name="btnCreate" Content="Create User" Margin="10"></Button>
        </StackPanel>

    </StackPanel>
</Window>
